/**
 * @description 数据中心
 * @author zkx
 */

const dataCenter = [
  {
    path: 'dataCenter',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'DataCenter',
    redirect: 'noRedirect',
    alwaysShow: true,
    meta: {
      title: 'dataCenter',
      code: 'DataCenter',
      icon: 'el-icon-magic-stick',
      allIdentity: false,
      deleteItem: false,
      deleteCode: false
    },
    children: [
      {
        path: 'analysis',
        name: 'Analysis',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/dataCenter/analysis/index'),
        meta: {
          title: 'dataCenterAnalysis',
          code: 'Analysis',
          icon: 'el-icon-magic-stick',
          allIdentity: false,
          deleteItem: false,
          deleteCode: false
        }
      },
      {
        path: 'report',
        name: 'Report',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/dataCenter/report/index'),
        meta: {
          title: 'dataCenterReport',
          code: 'Report',
          icon: 'el-icon-magic-stick',
          allIdentity: false,
          deleteItem: false,
          deleteCode: false
        }
      }
    ]
  }
];

export default [
  ...dataCenter
];
